#ifndef _TUBE_H_
#define _TUBE_H_

#include <d3dx9.h>

#include "sprite.h"
#include "picture.h"
#include "objects.h"
#include "tree.h"

class CTube : public CObjects
{
public:
	CTube();
	CTube(int Stand, int Length, int HavingTree, int CanGetDown, float, float);
	~CTube();
	CTree * tree;
	int stand;
	int indexOfTree;
	int length;
	int canGetDown;
	void RenderPieceTube(int type,float pos_x, float pos_y);
	virtual void RenderFrame(LPDIRECT3DDEVICE9 d3ddv, int t);
};
#endif